package com.itheima05;

public class Test {
    public static void main(String[] args) {
        Dog d1=new Dog();
        d1.eat();
        System.out.println("---------");
        Animal a1=new Dog();
        a1.eat();
    }
}
